package com.learn.codesourcelearn.bean;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author yekaile
 * @Date 2020/11/15 15:24
 */
@Component
public class A {
    @Autowired
    private B b;

    public void print(){
        b.print();
    }
}
